<?php
/**
 * *****************************
 * 宁夏博达职业培训学校
 * create by ZhangChenjun
 * 2020.04.10
 * *****************************
 */

use think\Route;

/******************************后台路由********************************************/

Route::rule('error','not_found/index/index');//500系统错误
Route::rule('not_rule','not_rule/index/index');//500系统错误

Route::rule('admin_login','admin/login/index');//后台登录
Route::rule('admin_logout','admin/index/logout');//后台退出

Route::rule('admin','admin/index/index');//后台主页
Route::rule('index_v1','admin/index/index_v1');//后台主页

//Auth权限认证
Route::rule('auth_rule','admin/menu/rule_index');
Route::rule('auth_rule_add','admin/menu/rule_index_add');
Route::rule('auth_rule_edit','admin/menu/rule_index_edit');
Route::rule('auth_rule_del','admin/menu/rule_index_del');

Route::rule('auth_group','admin/menu/group_index');
Route::rule('auth_group_add','admin/menu/group_index_add');
Route::rule('auth_group_edit','admin/menu/group_index_edit');
Route::rule('auth_group_del','admin/menu/group_index_del');


Route::rule('auth_group_access','admin/menu/access_index');
Route::rule('auth_group_access_add','admin/menu/access_index_add');
Route::rule('auth_group_access_edit','admin/menu/access_index_edit');
Route::rule('auth_group_access_del','admin/menu/access_index_del');

//系统配置
Route::rule('system_index','admin/system/index');
Route::rule('system_tips','admin/system/tips');
Route::rule('site_map','admin/sitemap/index');
Route::rule('site_map_add','admin/sitemap/add');
Route::rule('site_map_edit','admin/sitemap/edit');
Route::rule('site_map_del','admin/sitemap/del');

//前台配置
Route::rule('top_menu','admin/top/top_menu');
Route::rule('top_menu_add','admin/top/top_menu_add');
Route::rule('top_menu_edit','admin/top/top_menu_edit');
Route::rule('top_menu_del','admin/top/top_menu_del');

Route::rule('top_logo','admin/top/top_logo');

Route::rule('top_banner','admin/top/top_banner');
Route::rule('top_banner_add','admin/top/top_banner_add');
Route::rule('top_banner_edit','admin/top/top_banner_edit');
Route::rule('top_banner_del','admin/top/top_banner_del');

//个人中心
Route::rule('change_password','admin/person/change_password');
Route::rule('about_person','admin/person/about_person');

Route::rule('report_start','admin/report/report_start');

Route::rule('school_year','admin/school/index');
Route::rule('school_year_add','admin/school/add');
Route::rule('school_year_edit','admin/school/edit');
Route::rule('school_year_del','admin/school/del');

Route::rule('import_stu','admin/student/index');

/******************************前台路由********************************************/
